﻿@page "/Account/Me"
@inherits YiMeiJiaService.Assembly.BaseComponent
@using Newtonsoft.Json;
@using YiMeiJiaLibModel.Config
@using YiMeiJiaApp.Pages.Components
@using YiMeiJiaLibModel.Business


<Headers MyPartialText="个人中心"></Headers>
@if (_userData != null)
{
    

    <div class="cm-app-container cm-txt-center">
        <div class="cm-card cm-card-max user-card">
            <div class="weui-flex">
                <div class="weui-flex__item cm-w cm-w-25 user-img cm-txt-center">
                    <img src="@_userData.avatarImage" />
                </div>
                <div class="weui-flex__item cm-w cm-w-65 user-info cm-txt-left">
                    <p class="mobile">手机号码: @_userData.mobile </p>
                    <p class="share cm-div-item-center">
                        邀请码：
                        <a href="javascript:;" class="weui-btn weui-btn_mini weui-btn_default">复制</a>
                    </p>
                </div>
                <div class="weui-flex__item cm-w cm-w-10 user-opt cm-txt-left cm-div-item-center ">
                    <a href="/Account/My/Info" class="cm-arrow-right">&nbsp;</a>
                </div>
            </div>
        </div>
    </div>

    @* 等级信息 *@
    <div class="weui-panel weui-panel_access my-orders grid-my-info">
        <div class="weui-panel__ft">
            <a href="javascript:void(0);" class="weui-cell weui-cell_access weui-cell_link">
                <div class="weui-cell__bd">我的权益</div>
                <span class="weui-cell__ft">权益说明</span>
            </a>
        </div>

        <div class="weui-grids">
            <a href="orders.html?types=0" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    @_userData.gradeName                    
                </div>
                <p class="weui-grid__label">
                    我的等级
                </p>
            </a>
            <a href="orders.html?types=2" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    @_userData.balance
                </div>
                <p class="weui-grid__label">
                    余额
                </p>
            </a>
            <a href="orders.html?types=2" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    @_userData.accumulativePoint
                </div>
                <p class="weui-grid__label">
                    累计积分
                </p>
            </a>
            <a href="orders.html?types=2" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    @_userData.point
                </div>
                <p class="weui-grid__label">
                    可用积分
                </p>
            </a>
            <a href="orders.html?types=3" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-pr.png" alt="">
                </div>
                <p class="weui-grid__label">
                    广告包
                </p>
            </a>
            <a href="orders.html?types=4" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-completed.png" alt="">
                </div>
                <p class="weui-grid__label">
                    每日广告
                </p>
            </a>
            <a href="" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/paiduiicon.png" alt="">
                </div>
                <p class="weui-grid__label">
                    排队预收
                </p>
            </a>
            <a href="shareOrder.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-fenxiang.png" alt="">
                </div>
                <p class="weui-grid__label">
                    分享订单
                </p>
            </a>
            <a href="lineUp.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/paidui.png" alt="">
                </div>
                <p class="weui-grid__label">
                    排队中
                </p>
            </a>
            <a href="csrecord.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-after.png" alt="">
                </div>
                <p class="weui-grid__label">
                    售后
                </p>
            </a>

        </div>
    </div>

    <!--我的订单-->
    <div class="weui-panel weui-panel_access my-orders">
        <div class="weui-panel__ft">
            <a href="javascript:void(0);" class="weui-cell weui-cell_access weui-cell_link">
                <div class="weui-cell__bd">我的收益</div>
                <span class="weui-cell__ft">全部收益</span>
            </a>
        </div>

        <div class="weui-grids">
            <a href="orders.html?types=0" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-pp.png" alt="">
                </div>
                <p class="weui-grid__label">
                    待付款
                </p>
            </a>
            <a href="orders.html?types=2" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-delivered.png" alt="">
                </div>
                <p class="weui-grid__label">
                    待发货
                </p>
            </a>
            <a href="orders.html?types=3" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-pr.png" alt="">
                </div>
                <p class="weui-grid__label">
                    待签收
                </p>
            </a>
            <a href="orders.html?types=4" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-completed.png" alt="">
                </div>
                <p class="weui-grid__label">
                    已完成
                </p>
            </a>
            <a href="" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/paiduiicon.png" alt="">
                </div>
                <p class="weui-grid__label">
                    排队预收
                </p>
            </a>
            <a href="shareOrder.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-fenxiang.png" alt="">
                </div>
                <p class="weui-grid__label">
                    分享订单
                </p>
            </a>
            <a href="lineUp.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/paidui.png" alt="">
                </div>
                <p class="weui-grid__label">
                    排队中
                </p>
            </a>
            <a href="csrecord.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-after.png" alt="">
                </div>
                <p class="weui-grid__label">
                    售后
                </p>
            </a>

        </div>
    </div>


    <!--我的服务-->
    <div class="weui-panel weui-panel_access my-orders">
        <div class="weui-panel__ft">
            <a href="javascript:void(0);" class="weui-cell weui-cell_access weui-cell_link">
                <div class="weui-cell__bd">我的服务</div>

            </a>
        </div>

        <div class="weui-grids">
            <a href="/Account/My/Address" id="mywallet_link" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-wallet.png" alt="">
                </div>
                <p class="weui-grid__label">
                   其他
                </p>
            </a>
            <a href="/Account/My/Address" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-addr.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的地址
                </p>
            </a>
            <a href="realNameShow.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-verified.png" alt="">
                </div>
                <p class="weui-grid__label">
                    实名认证
                </p>
            </a>
            <a href="" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-setting.png" alt="">
                </div>
                <p class="weui-grid__label">
                    修改密码
                </p>
            </a>
            <a href="" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-pay.png" alt="">
                </div>
                <p class="weui-grid__label">
                    收款方式
                </p>
            </a>
            <a href="javascript:;" onclick="linkCs()" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-cs.png" alt="">
                </div>
                <p class="weui-grid__label">
                    联系客服
                </p>
            </a>
            <a href="feedback.html" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-feedback.png" alt="">
                </div>
                <p class="weui-grid__label">
                    意见反馈
                </p>
            </a>
            <a href="javascript:;" onclick="clearCache()" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-clear.png" alt="">
                </div>
                <p class="weui-grid__label">
                    清理缓存
                </p>
            </a>
            <a href="javascript:;" onclick="outLog()" class="weui-grid js_grid">
                <div class="weui-grid__icon">
                    <img src="@ApiConf.ApiStatic()/imgs/my/icons-clear.png" alt="">
                </div>
                <p class="weui-grid__label">
                    退出登录
                </p>
            </a>
        </div>
    </div>
}




@code {

}
